package com.magicalcoder.pigeon.mysql.manager;

import java.sql.Connection;

/**
 * Created by hzhedongyu on 2017/6/6.
 */
public class DbConnection {

    private PoolImpl.PigeonConnection pigeonConnection;

    public DbConnection(PoolImpl.PigeonConnection pigeonConnection) {
        this.pigeonConnection = pigeonConnection;
    }

    public Connection getConnection() {
        return pigeonConnection.getConnection();
    }



    public PoolImpl.PigeonConnection getPigeonConnection() {
        return pigeonConnection;
    }
}
